package com.cmnit;

import com.cmnit.application.DangerousTruckApplication;
import com.cmnit.utils.ConfigurationManager;
import org.apache.log4j.Logger;

public class App {
    private static final Logger log = Logger.getLogger(App.class);

    public static void main(String[] args) {
        // 默认生产环境
        if (args.length != 0) ConfigurationManager.setProperties("local.properties");

        // 开始调取数据
        log.info("开始执行程序");
        DangerousTruckApplication application = new DangerousTruckApplication();
        application.run();
    }
}
